package com.ssfeng.youxia.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author liyuhang
 * @since 2020-04-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("youxia_sessions")
public class Sessions implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String session;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 创建时间
     */
//    @TableField(value = "start_times_tamp",exist = true)
    private LocalDateTime startTimesTamp;

    /**
     * 更新时间
     */
//    @TableField(value = "last_access_time",exist = true)
    private LocalDateTime lastAccessTime;

    /**
     * 用户id
     */
//    @TableField(value = "user_id",exist = true)
    private Long userId;


}
